package com.ruoyi.material.domain;

import com.alibaba.fastjson.JSONArray;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MateProductCheck extends BaseEntity {
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;//审核时间
    private Long ckInformationId;
    private String beginTime;
    private String endTime;
    private Long deptId;
    private String orderNum;//订单编号
    private Long mateCheckId;//主键id
    private String mateCategory;
    private Long materialId;//供应单位id
    private String materialName;//生产商名称
    private String checkResult;//检验结论
    private String zjName;//主检人名字
    private String auditName;//审核人
    private String isPackage; //包装是否完好
    private String purchaseInventory;//采购清单
    private String qualified;//是否合格供方
    private String typeAgree;//型号规格是否相符
    private String invoice;//发票
    private String qualifiedProve;//合格证明
    private String enchase;//装箱单
    private String realityNum;//实际数量是否相符
    private String checkTime;//检验完成日期
    private String remark;//备注
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "采购时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date purchaseTime;
    private JSONArray otherInformation;//其他资料
    private String informationList;
    private String isMtWarehousing;//是否已经生成入库订单
    private String mpcheckStatus;//审批状态 0待审核 1同意 2驳回
    private List<MateProductCheckModel> mateProductCheckModels;
    private List<MateProductReport> mateCheckProducts;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    public List<MateProductReport> getMateCheckProducts() {
        return mateCheckProducts;
    }

    public void setMateCheckProducts(List<MateProductReport> mateCheckProducts) {
        this.mateCheckProducts = mateCheckProducts;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getIsMtWarehousing() {
        return isMtWarehousing;
    }

    public void setIsMtWarehousing(String isMtWarehousing) {
        this.isMtWarehousing = isMtWarehousing;
    }

    public List<MateProductCheckModel> getMateProductCheckModels() {
        return mateProductCheckModels;
    }

    public void setMateProductCheckModels(List<MateProductCheckModel> mateProductCheckModels) {
        this.mateProductCheckModels = mateProductCheckModels;
    }


    public String getIsPackage() {
        return isPackage;
    }

    public void setIsPackage(String isPackage) {
        this.isPackage = isPackage;
    }

    public String getPurchaseInventory() {
        return purchaseInventory;
    }

    public void setPurchaseInventory(String purchaseInventory) {
        this.purchaseInventory = purchaseInventory;
    }

    public String getQualified() {
        return qualified;
    }

    public void setQualified(String qualified) {
        this.qualified = qualified;
    }

    public String getTypeAgree() {
        return typeAgree;
    }

    public void setTypeAgree(String typeAgree) {
        this.typeAgree = typeAgree;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getQualifiedProve() {
        return qualifiedProve;
    }

    public void setQualifiedProve(String qualifiedProve) {
        this.qualifiedProve = qualifiedProve;
    }

    public String getEnchase() {
        return enchase;
    }

    public void setEnchase(String enchase) {
        this.enchase = enchase;
    }

    public String getRealityNum() {
        return realityNum;
    }

    public void setRealityNum(String realityNum) {
        this.realityNum = realityNum;
    }

    public Date getPurchaseTime() {
        return purchaseTime;
    }

    public void setPurchaseTime(Date purchaseTime) {
        this.purchaseTime = purchaseTime;
    }

    public JSONArray getOtherInformation() {
        return otherInformation;
    }

    public void setOtherInformation(JSONArray otherInformation) {
        this.otherInformation = otherInformation;
    }

    public String getInformationList() {
        return informationList;
    }

    public void setInformationList(String informationList) {
        this.informationList = informationList;
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    public String getMpcheckStatus() {
        return mpcheckStatus;
    }

    public void setMpcheckStatus(String mpcheckStatus) {
        this.mpcheckStatus = mpcheckStatus;
    }

    public Long getCkInformationId() {
        return ckInformationId;
    }

    public void setCkInformationId(Long ckInformationId) {
        this.ckInformationId = ckInformationId;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Long getMateCheckId() {
        return mateCheckId;
    }

    public void setMateCheckId(Long mateCheckId) {
        this.mateCheckId = mateCheckId;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }


    public String getMateCategory() {
        return mateCategory;
    }

    public void setMateCategory(String mateCategory) {
        this.mateCategory = mateCategory;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult;
    }

    public String getZjName() {
        return zjName;
    }

    public void setZjName(String zjName) {
        this.zjName = zjName;
    }

    public String getAuditName() {
        return auditName;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }


    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

}
